<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><?=$title?></title>
<link rel="shortcut icon" href="<?=url::base()?>mediaadmin/img/favicon.ico" type="image/x-icon">


<script type="text/javascript">
	var baseurl="<?=url::base(true)?>";
</script>




<?=html::script(array('vendor/tiny_mce/tiny_mce.js'))?>




<?php

echo html::stylesheet(array
	(
	'mediaadmin/css/default',
	'mediaadmin/css/datePicker'
	)
);


echo html::script(array
	(
	'mediaadmin/js/jquery.js', 
	'mediaadmin/js/date.js',
	'mediaadmin/js/jquery.datePicker.js',
	'mediaadmin/js/jquery.MultiFile.js' ,
	'mediaadmin/js/jquery.blockUI.js' ,
	'mediaadmin/js/jquery.scrollTo.js',
	'mediaadmin/js/standard.js',
	'mediaadmin/js/medialist.js',
	'mediaadmin/js/ui/ui.core.js',
	'mediaadmin/js/ui/ui.sortable.js',
	
	)
);

?>

<script type="text/javascript">
	tinyMCE.init({
	mode : "textareas",
	theme : "advanced",
	theme_advanced_blockformats : "h2,p",
	theme_advanced_buttons1: "formatselect",
	theme_advanced_buttons2: "",
	theme_advanced_buttons3: "",
	theme_advanced_toolbar_location : "top",
	theme_advanced_toolbar_align : "left",
	cleanup_on_startup : true,
	
	editor_selector : "mceSimple"
});

</script>


<?
	// IN dieser Datei können modulcss und javascript files eingebunden werden.
	
	$subview=new View('modulehead');
	echo $subview;
	
?>



</head>
<body>


<div id="header">
<?= isset($head)?$head:'' ?>
</div>


<div id="main">  
     <div id="navileft">
     <?= isset($navileft)?$navileft:'' ?>      
    </div>
    
     <div id="content">
       
    	<?= $content ?>
   	 	<?= isset($debug)?$debug:'' ?>
    </div>
</div>


</body>
</html>
